package com.lyc.service;

import com.lyc.entity.Product;
import com.lyc.entity.qo.Conditions;
import org.apache.solr.client.solrj.SolrServerException;

import java.io.IOException;
import java.util.List;

public interface ISolrService {
    void test() throws IOException, SolrServerException;

    List<Product> searchProducts(Conditions conditions) throws IOException, SolrServerException;

    List<Product> getNewProducts() throws IOException, SolrServerException;

    List<Product> getHotProducts() throws IOException, SolrServerException;

}
